trigger InstrumentDeliverynDetailsTrigger on InstrumentDeliverynDetails__c(after  insert,after update,after delete   ) {
    

	if(trigger.isAfter && trigger.isUpdate)InstrumentDeliverynDetailsHandler.genInstallApply(trigger.new, trigger.oldMap);
	if(trigger.isAfter && (trigger.isUpdate || trigger.isInsert ))InstrumentDeliverynDetailsHandler.calcSendEquipmentNum(trigger.new);
	if(trigger.isAfter && trigger.isDelete) InstrumentDeliverynDetailsHandler.calcSendEquipmentNum(trigger.old);

}